import request, {formRequest}from '@/utils/request';
import { baseUrl } from '@/utils/settings';

//查询我群发的短信
export async function selSmsThemeForMy(param) {
    return request(baseUrl + 'theme/selSmsThemeForMy',{ method:'post', data: param.payload }, param.type);
}

//按主题id查询群发短信详情
export async function selSmsThemeDetails(param) {
    return request(baseUrl + 'theme/selSmsThemeDetails',{ method:'post', data: param.payload }, param.type);
}

//按短信id集合重发短信
export async function reSendSmsTheme(param) {
    return request(baseUrl + 'theme/reSendSmsTheme',{ method:'post', data: param.payload }, param.type);
}
